(name of it = "WinXP" OR name of it = "WinXP-2003" OR (name of it = "WinVista" AND product type of it = nt workstation product type AND NOT x64 of it) OR (name of it = "WinVista" AND product type of it = nt workstation product type AND x64 of it) OR (name of it = "Win7" AND NOT x64 of it) OR (name of it = "Win7" AND x64 of it)) of operating system
//Delete all old shadow copies
waithidden cmd.exe /C vssadmin delete shadows /all
//Set max VSS Shadow Copy storage to 10GB
waithidden cmd.exe /C vssadmin Resize ShadowStorage /For=C: /On=C: /MaxSize=10GB